<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class Bank
 * 
 * @property int $id
 * @property string $code
 * @property string $name
 * @property int $sort
 * @property bool $is_online
 * @property int $status
 * @property string $h5_logo
 * @property string $logo
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class Bank extends Eloquent
{
	protected $table = 'bank';

	protected $casts = [
		'sort' => 'int',
		'is_online' => 'bool',
		'status' => 'int'
	];

	protected $fillable = [
		'code',
		'name',
		'sort',
		'is_online',
		'status',
		'h5_logo',
		'logo'
	];
}
